str1 = '111'
print(str1)
str2 = "222"
str3 = '''3334
4453'''

print('{0}----{1}----{2}'.format(1, 2, 3))
str4 = '6666'
print(f'这个程序{str4}')
# 格式化
# print(f'{i}*{j}={i*j}')

sep = ','
print(sep.join(str4))

str5 = 'good good study'
print(str5.upper())
print(str5.lower())
print(str5.capitalize())
print(str5.title())

print("good".center(30, '*'))
print("good".ljust(30, '*'))
print("good".rjust(30, '*'))
print("good".zfill(30))

print(str5.split())
print(str5.split('g',1))
print("========================开始下载============================")
for i in range(0,101,2):

    if i==100:
        print(f'{i}%[', "*" * (i // 2), "." * (50 - i // 2), "]")
        print("========================下载完成============================")
        break
    else:
        print(f'{i}%[',"*"*(i//2),"."*(50-i//2),"]")


symbol="*"
print(symbol.join("hello"))
print(f'你个{symbol*2}')